
declare type ObjKey = string | number;
/** 对象类型 `{}` */
declare type Obj<T = unknown> = Record<ObjKey, T>;

/** 可 null 类型 */
declare type Nullable<T> = { [P in keyof T]: T[P] | null };